home *** CD-ROM | disk | FTP | other *** search
/ The Microsoft Windows 95 Recource Kit Utilities / Recouce Kit Utilities.iso / rkutil / scripts.inf < prev    next >
INI File  |  1995-10-12  |  4KB  |  108 lines

  1. ; scripts.INF
  2.  
  3. ; This is the Setup information file to install the animated cursor editor
  4.  
  5. ; Copyright (c) 1993-1995 Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. LayoutFile=rklayout.inf
  10. signature="$CHICAGO$"
  11. SetupClass=BASE
  12.  
  13. [DestinationDirs]
  14. Register.Copy    = 17    ; LDID_INF
  15. rklayout.copy = 17     ;  LDID_INF
  16. scriptsCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%\%scripts%    ; LDID_APPS\Program Files\Resource Kit
  17.  
  18. [Optional Components]
  19. scripts
  20.  
  21. [scripts]
  22. OptionDesc  = %scripts_Desc%
  23. Tip         = %scripts_TIP%
  24. CopyFiles   = scriptsCopyFiles, Register.Copy, rklayout.copy
  25. AddReg      = scriptsReg, scripts.install.reg, Register.AddReg
  26. InstallType = 0            ;Manual only
  27. IconIndex   = 11            ;Default (diamond) mini-icon for dialogs
  28. Uninstall   = scripts_remove
  29. UpdateInis  = scripts.Inis
  30.  
  31.  
  32. [scripts_remove]
  33. DelFiles    = scriptsCopyFiles, Register.Copy
  34. DelReg      = UnRegister.DelReg
  35. UpdateInis  = scripts.Rem.Inis
  36.  
  37.  
  38. [Register.Copy]
  39. scripts.inf
  40.  
  41. [rklayout.Copy]
  42. rklayout.inf
  43.  
  44. [scriptsCopyFiles]
  45. scripts.txt
  46. automate.inf
  47. default.inf
  48. iniprep.inf
  49. minbatch.inf
  50. msnet.inf
  51. nwnet.inf
  52. regional.inf
  53. userprof.inf
  54.  
  55.  
  56. [scripts.Inis]
  57. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  58. setup.ini, group11,, """%shortcut_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\%scripts%,,, scripts"       ;creates link
  59.  
  60. [scripts.Rem.Inis]
  61. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  62. setup.ini, group11,, """%shortcut_Desc%"""                     ;deletes link
  63.  
  64. [Register.AddReg]
  65. ;Create entries for Maint Mode Setup
  66. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scripts,DisplayName,,%uninstall_Desc%
  67. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scripts,UninstallString,,"RunDll setupx.dll,InstallHinfSection scripts_Remove 4 scripts.INF"
  68.  
  69. [UnRegister.DelReg]
  70. ;Remove entries for Maint Mode Setup
  71. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scripts
  72.  
  73. [scriptsReg]
  74. ; create the long-name for "Program Files"
  75. ; Note that when you rename a long name, VFAT changes the short name from
  76. ; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
  77. ; an intermediate rename
  78. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
  79. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
  80. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
  81. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
  82. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
  83. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
  84. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
  85.  
  86.  
  87. [Strings]
  88. RKTOOLS_DESC   = "Resource Kit"
  89. scripts = "Scripts"
  90. scripts_Desc    = "Sample Batch Setup Scripts"
  91. shortcut_Desc   = "Sample Scripts for Batch Setup"
  92. uninstall_Desc    = "Sample Batch Setup Scripts"
  93. scripts_TIP     = "Sample scripts to highlight different installation scenarios using batch setup."
  94. DSK = "Windows 95 Resource Kit"
  95.  
  96.  
  97.  
  98. ; Directory names - note that that short versions must match the truncated
  99. ; 8 char names for the long versions, or else there will be problems.
  100. ; also need to put the short versions in the [DestinationDirs] section above
  101. ; Used by wordpad, hypertrm, backup, paint, & MSN
  102. Program_Files    = "Programme"         ; changed for the German version of Windows 95
  103. PROGRAMF         = "Progra~1"          ; first 6 chars of Program_Files, + "~1"
  104. OEM_PROGRAMF     = "Progra~1"          ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  105. ResourceKit      = "Resource Kit"
  106. RESOURCE         = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"
  107. OEM_RESOURCE     = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"  - in OEM codepage (not Ansi)
  108.